/**
 * Program   :   TDictionaryClass.java
 * Author    :   shadow guo
 * Create    :   2013-6-24 下午9:07:39
 *
 * Copyright 2008 by Tongfu Information Technology Co. Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Tongfu Information Technology Co. Ltd.
 * 
 */
package com.tongfusoft.example.data;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.annotation.UniqueCheck;
import com.tongfusoft.web.core.data.DictionaryClassData;

@LogDesc(value="字典分类" ,expression="dictclassName")
@UniqueCheck(value="[{\"DICTCLASS_CODE\":\"dictclassCode\",\"PROJECT_ID\":\"projectId\"}]")
public class TDictionaryClass extends DictionaryClassData {
	/**
	 * 分类编码
	 */
	private String dictclassId;
	/**
	 * 字典名
	 */
	private String dictclassName;
	
	/**
	 * 项目ID，0表示所有
	 */
	private String projectId;
	
	/**
	 * 状态，1：有效；0：无效
	 */
	private String status;
	
	/** 
	字典编码 
	*/  
	private String dictclassCode; 
	
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDictclassCode() {
		return dictclassCode;
	}

	public void setDictclassCode(String dictclassCode) {
		this.dictclassCode = dictclassCode;
	}

	@Override
	public String getPkName() {
		return "dictclassId";
	}

	@Override
	public String getTableName() {
		return "T_DICTIONARY_CLASS";
	}

	public String getDictclassId() {
		return dictclassId;
	}

	public void setDictclassId(String dictclassId) {
		this.dictclassId = dictclassId;
	}

	public String getDictclassName() {
		return dictclassName;
	}

	public void setDictclassName(String dictclassName) {
		this.dictclassName = dictclassName;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	@Override
	public String getCode() {
		return this.dictclassCode;
	}

	@Override
	public String getName() {
		return this.getDictclassName();
	}

}
